<?php

namespace Frieza\Modules\AbTest\Actions;

use Encore\Admin\Actions\RowAction;

class Delete extends RowAction
{
    public $name = '删除实验';

    public function dialog()
    {
        $this->confirm('确定删除实验？');
    }

    public function getHandleRoute()
    {
        return admin_url('abTest/deleteInfo');
    }
}